import { contextBridge, ipcRenderer } from 'electron';

contextBridge.exposeInMainWorld('resizeAPI', {
  DynamicWindowResizer: (increaseBy: number) => {
    ipcRenderer.send('input-element-change', increaseBy);
  },
  updateWindowOnMessageReceived:(message:string)=>{
    ipcRenderer.send('window-on-message',message);
  },
  monitorTextEmpty:()=>{
    ipcRenderer.send('text-empty');
  }
});
